projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37c433e
)
Implement auto-raise on Haiku
author
Po Lu
<luangruo@yahoo.com>
Fri, 4 Feb 2022 12:10:30 +0000
(12:10 +0000)
committer
Po Lu
<luangruo@yahoo.com>
Fri, 4 Feb 2022 12:11:29 +0000
(12:11 +0000)
* src/haikuterm.c (haiku_read_socket): Implement auto-raising
of frames that have that parameter set.
src/haikuterm.c
patch
|
blob
|
history
diff --git
a/src/haikuterm.c
b/src/haikuterm.c
index e8c734d6711f9a235e28a3c4eb63f90c9bbe66aa..5d90acb4434c763e7dfcbef090f5ae5a188609f6 100644
(file)
--- a/
src/haikuterm.c
+++ b/
src/haikuterm.c
@@
-2811,6
+2811,12
@@
haiku_read_socket (struct terminal *terminal, struct input_event *hold_quit)
last_mouse_window = window;
}
+ if (f->auto_raise)
+ {
+ if (!BWindow_is_active (FRAME_HAIKU_WINDOW (f)))
+ haiku_frame_raise_lower (f, 1);
+ }
+
if (!NILP (help_echo_string)
|| !NILP (previous_help_echo_string))
do_help = 1;